#ifndef BBCLASS_H
#define BBCLASS_H

#include <QHash>
#include <QString>

class BBClass
{
public:
	BBClass()
	{
		m_extension = "";
	}

	~BBClass()
	{
		//DOES NOTHING
	}

	QString getName()
	{
		return m_name;
	}

	void setName( QString name )
	{
		m_name = name;
	}

	QString getExtension()
	{
		return m_extension;
	}

	void setExtension( QString extension )
	{
		m_extension = extension;
	}

	QHash<QString, QString> getAttributesType()
	{
		return m_attributesType;
	}

	void setAttributesType( QHash<QString, QString> attributesType )
	{
		m_attributesType = attributesType;
	}

	QString getAttributeType( QString name )
	{
		return m_attributesType[name];
	}

	void setAttributeType( QString name, QString type )
	{
		m_attributesType.insert( name, type );
	}

private:
	QString m_name;
	QString m_extension;
	QHash<QString, QString> m_attributesType;
};

#endif